package com.yuju.account.dao.mapper;

import com.yuju.account.dao.entity.UnitAccountBook;
import com.yuju.persist.base.mapper.BaseMapper;
import java.util.List;
import java.util.Map;

public interface UnitAccountBookMapper extends BaseMapper<UnitAccountBook, String> {
    int deleteByPrimaryKey(String id);

    int selectCountByMap(Map<Object, Object> map);
    
    int updateSettle(Map<String, Object> map);
    
    List<UnitAccountBook> listAndSum(Map<Object, Object> map);
    Integer countByMap(Map<Object, Object> map);

    List<UnitAccountBook> selectListByMap(Map<Object, Object> map);

    int insert(UnitAccountBook record);

    int insertSelective(UnitAccountBook record);

    UnitAccountBook selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UnitAccountBook record);

    int updateByPrimaryKey(UnitAccountBook record);
}